package com.example.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.demo.entity.BookType;

@Mapper
public interface BookTypeMapper {

  Integer add(@Param("bookType") BookType bookType);

  Integer delete(@Param("id") int id);

  BookType[] getAll();
}
